/**
 * 
 */
package model.facade.persistence;

import java.io.IOException;
import java.sql.SQLException;

import model.facade.persistence.mysql.DAOManager_MySQL;

/**
 * @author Giuseppe Fusco (fusgius19@gmail.com)
 *
 */
public class DAOFactory {

	public static DAOManager_MySQL createDAOManager_MySQL() throws ClassNotFoundException, IOException, SQLException{
		return DAOManager_MySQL.getInstance();
	}
	
	public static DAOManager_MySQL createDAOManager_MySQL(String host, int port, String db, String user, String password) throws ClassNotFoundException, IOException, SQLException{
		return DAOManager_MySQL.getInstance(host, port, db, user, password);
	}
}
